package cn.edu.sgu.www.mhxysy.entity.chongwu;

import cn.edu.sgu.www.mhxysy.consts.IdentifierPrefixes;
import cn.edu.sgu.www.mhxysy.util.StringUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 宠物加点
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("chongwu_jiadian")
public class ChongwuJiadian implements Serializable {
	private static final long serialVersionUID = 18L;

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value = "ID")
	private String id;

	/**
	 * 加点方案
	 */
	@ApiModelProperty(value = "加点方案")
	private Integer jiadianSchema;

	/**
	 * 加点名称
	 */
	@ApiModelProperty(value = "加点名称")
	private String name;

	/**
	 * 体质点
	 */
	@ApiModelProperty(value = "体质点")
	private Integer tizhi;

	/**
	 * 力量点
	 */
	@ApiModelProperty(value = "力量点")
	private Integer liliang;

	/**
	 * 敏捷点
	 */
	@ApiModelProperty(value = "敏捷点")
	private Integer minjie;

	/**
	 * 耐力点
	 */
	@ApiModelProperty(value = "耐力点")
	private Integer naili;

	/**
	 * 魔力点
	 */
	@ApiModelProperty(value = "魔力点")
	private Integer moli;

	/**
	 * 宠物ID
	 */
	@ApiModelProperty(value = "宠物ID")
	private String chongwuId;

	/**
	 * 开启状态
	 */
	@ApiModelProperty(value = "开启状态")
	private Integer openStatus;

	/**
	 * 解锁状态
	 */
	@ApiModelProperty(value = "解锁状态")
	private Integer unlockStatus;

	public String uuid() {
		return IdentifierPrefixes.PREFIX_CWJD + StringUtils.uuid();
	}

}